package com.achao.basecommon.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;

/**
 * 描述：用户收藏夹-DO类
 *
 * @Author：yangchao
 * @CreateDate：2023/1/31 22:02
 */
@TableName("MUSIC_COLLECT")
public class MusicCollectDO implements Serializable {
    private static final long serialVersionUID = -7999632009543267887L;
    //收藏夹序列ID
    @TableId("ID")
    private int id;
    //用户表排序id,对应music_user表id字段
    @TableField("COLLECT_USER_ID")
    private int collectUserId;
    //歌曲ID,对应song_list表ID字段
    @TableField("COLLECT_SONG_ID")
    private int collectSongId;
    //歌手ID,对应music_singer表ID字段
    @TableField("COLLECT_SINGER_ID")
    private int  collectSingerId;
    //| 收藏时间 |
    @TableField("CREATE_TIME")
    private String createTime;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public int getCollectUserId() {
        return collectUserId;
    }

    public void setCollectUserId(int collectUserId) {
        this.collectUserId = collectUserId;
    }

    public int getCollectSongId() {
        return collectSongId;
    }

    public void setCollectSongId(int collectSongId) {
        this.collectSongId = collectSongId;
    }

    public int getCollectSingerId() {
        return collectSingerId;
    }

    public void setCollectSingerId(int collectSingerId) {
        this.collectSingerId = collectSingerId;
    }

    public String getCreateTime() {
        return createTime;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }

    @Override
    public String toString() {
        return "MusicCollectDO{" +
                "id=" + id +
                ", collectUserId=" + collectUserId +
                ", collectSongId=" + collectSongId +
                ", collectSingerId=" + collectSingerId +
                ", createTime='" + createTime + '\'' +
                '}';
    }
}
